package com.etoak.common.core.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Service;

import java.util.List;

@Data
@Service
@ConfigurationProperties(prefix = "image")
public class ImageProperties {
    //图片上传目录|也是访问目录
    private String uploadDir;
    //图片请求地址
    private String mapping;
    //图片类型
    private List<String> types;
}
